package com.hod.client;

import com.gwtext.client.widgets.TabPanel;
import com.hod.client.bedtype.BedTypeCRUD;
import com.hod.client.client.ClientCRUD;
import com.hod.client.frontend.ScreenManager;
import com.hod.client.room.RoomCRUD;
import com.hod.client.roomtype.RoomTypeCRUD;

/***
 * Menues de la aplicacion
 * @author matias
 *
 */
public class HODScreenManager extends ScreenManager {
	public static RoomCRUD rooms = new RoomCRUD();
	public static RoomTypeCRUD roomtype = new RoomTypeCRUD();
	public static ClientCRUD clients = new ClientCRUD();
	/*public static ReservationCRUD reservations = new ReservationCRUD();
	public static LodgingCRUD lodgings = new LodgingCRUD();*/
	//public static ReservationStateCRUD reservationStates = new ReservationStateCRUD();
	//public static ChargeDescriptionCRUD chargeDescriptions = new ChargeDescriptionCRUD();
	//public static ChargeCRUD charges = new ChargeCRUD();
	public static BedTypeCRUD bedTypes = new BedTypeCRUD();

	public HODScreenManager(TabPanel tabPanel) {
		super(tabPanel);
		// TODO Auto-generated constructor stub
	}

	@Override
	public Object[][] getData() {
		
		// TODO Auto-generated method stub
		return new Object[][]{
				new Object[]{"maps-category", null, "Modulos", "world-icon", null, null, null},
				new Object[]{"masters", null, "Maestros", "world-icon", null, null, null},
				new Object[]{"roomTree", "maps-category", "Rooms", null, "images/thumbnails/rooms.gif", null,rooms, null},
				new Object[]{"roomTypeTree", "masters", "RoomTypes", null, "images/thumbnails/rooms.gif", null,roomtype, null},
				new Object[]{"clientTree", "maps-category", "Clients", null, "images/thumbnails/clients.gif", null,clients, null},
				//new Object[]{"reservationTree", "maps-category", "Reservation", null, "images/thumbnails/reservation.gif", null,reservations, null},
				//new Object[]{"lodgingTree", "maps-category", "Lodging", null, "images/thumbnails/reservation.gif", null,lodgings, null},
				//new Object[]{"chargesTree", "maps-category", "Charges", null, "images/thumbnails/reservation.gif", null,charges, null},
				//new Object[]{"reservationStateTree", "masters", "Reservation States", null, "images/thumbnails/reservation.gif", null,reservationStates, null},	
				new Object[]{"bedtypeDescriptionTree", "masters", "Bed Types", null, "images/thumbnails/reservation.gif", null,bedTypes, null},
				//new Object[]{"chargeDescriptionTree", "masters", "Charge Description", null, "images/thumbnails/reservation.gif", null,chargeDescriptions, null}
		};
	}

}
